Skip to content

[],System.Int32)}

QuaternaryDictionary.CopyTo(KeyValuePair[], int) method

Defined in

Type: QuaternaryDictionary Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)

View source (opens in a new tab)

Summary: Copies the elements of the collection to an array.

Parameters

NameTypeDescription
arrayKeyValuePair<TKey, TValue>[]The destination array.
arrayIndexint (opens in a new tab)The starting index in the array.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown when array is null.
System.ArgumentOutOfRangeException (opens in a new tab)arrayIndex is negative.
System.ArgumentException (opens in a new tab)The destination does not have room for every element.